package com.kun.portal.webframe.util.eventQuene;

import com.kun.portal.webframe.util.MessageBuss;
import com.lmax.disruptor.EventHandler;

public class MessageEventHandler implements EventHandler<MessageEvent> {
    @Override
    public void onEvent(MessageEvent messageEvent, long l, boolean b) throws Exception {
        MessageBuss.sendMessage(messageEvent.getMessage(),messageEvent.getMessage().getMessageType());
    }
}
